import Framework from './framework';
import Util from './util.js';
import Formatter from './formatter.js';

import Services from './services';

export default {

  install(Vue, options = {}) {
    const framework = Services.getInstance("framework", Framework, options);

    Vue.prototype.$framework = framework;
    Vue.prototype.$util = Util;
    Vue.prototype.$formatter = Formatter;

    Vue.prototype.$$server = `${process.env.VUE_APP_SERVER}`;
  }
};
